package com.xy.biz.fd.domain.enums;

import com.xy.lang.enums.CodeEnum;

/**
 * @Author wwj
 * @Date 2021/1/28
 */
public enum  DocumentTypeEnum implements CodeEnum{

    DOCUMENT(1,".docx"),
    EXECL(2,".xlsx"),
    PPT(3,".pptx"),
    PDF(4,".pdf");


    private int code;
    private String ext;

    DocumentTypeEnum(int code, String ext) {
        this.code = code;
        this.ext = ext;
    }

    public int getCode() {
        return code;
    }

    public String getExt() {
        return ext;
    }
}
